home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
spiele
/
publicdomain
/
amigamud-tt
/
mystuff
/
lockers.doc
< prev
next >
Wrap
Text File
|
1996-07-08
|
1KB
|
45 lines
Name : Lockers.m
Author : Tak Tang tst92@ecs.soton.ac.uk
Date : 7/7/96
Introduction
I wanted somewhere to put my things, such as a locker room, or a hotel,
but there wasnt anything. This was partly a learning exercise, but can
still be useful. Each player can leave stuff here, and collect it later.
Installation
Log in a SysAdmin, source the file. Go somewhere, and in
wizard mode, type
use t_util.
MakeLocker( <room> ).
If you supply a nil room, it will default to Here(). You can use
"HELP" to get a list of commands, "CHECK" to see what you have
stored here, "CHECKIN" to store an object, "CHECKOUT" to retireve
an object.
To do
Place a limit on the number of items you can store. Check to
see that quest items are not stored here. Charge for storage.
Notes
Originally, I wanted to make a locker object, which you could
put things in, take things out of, and look in. Then I ran into
trouble with the verb checkers. If you look in an object with a
p_oContents list, then the contents are displayed, ignoring the
checker. As you need to seperate peoples things, so they only see
their things, you would have to make the object not have a
p_oContents, keeping track of stored items through a checker.
However, if you put something into an object without a p_oContents,
it says you cant, whithout going through the checker.